#pragma once

#include <string>

class Task
{
public:
    Task(){}
    Task(int a, int b) 
        :_a(a), _b(b), _result(0)
    {}
    ~Task()
    {}
    void Excute()
    {
        _result = _a + _b;
    }
    std::string DeBugPrint()
    {
        return std::to_string(_a) + "+" + std::to_string(_b) + "=?";
    }
    std::string ResultPrint()
    {
        return std::to_string(_a) + "+" + std::to_string(_b) + "=" + std::to_string(_result);
    }
private:
    int _a;
    int _b;
    int _result;
};